package io.renren.modules.school.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.school.entity.LowscoreEntity;
import io.renren.modules.school.entity.SchoolEntity;
import io.renren.modules.school.entity.TreeEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author xuebing
 * @email xuebinggod@163.com
 * @date 2018-10-11 19:12:15
 */
public interface SchoolService extends IService<SchoolEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<TreeEntity> getSchoolTree();

    PageUtils getListBySchoolId(Integer id);

    void insertLowScore(LowscoreEntity school);

    LowscoreEntity getLowscoreEntityByYear(LowscoreEntity school);

    void deleteLowScore(Integer id);

    List getUniversitys(Map<String, Object> params);

    List getLastYearScore(Map<String, Object> params);

    void changeALL(Map<String, Object> params);

    void setLastThreeYear(String[] year);

}

